#include "mainwindow.h"

#include <QApplication>
#include <QLabel>


unsigned long int factorial(unsigned int n)
{
 switch(n)
 {
  case 0: return 0;
  case 1: return 1;
  default: return n * factorial(n-1);
  }
 }

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    // label only
    //qDebug("6! is %lu", factorial(6));
    //QLabel hello("Hello qt 33!");
    //hello.show();
    // main
    MainWindow w;
    w.show();
    //
    return a.exec();
}
